home *** CD-ROM | disk | FTP | other *** search
- # RunMake
-
- set MAKE "dmake -n"
-
- set TEMPDIR ":(Temporary):"
- set CMDS "{TEMPDIR}MakeCommands.temp"
- If "`Exists -f "{TEMPDIR}"`" != ""
- # There's a file where our directory needs to be -- we're screwed
- Echo "# Please rename or remove the file '{TEMPDIR}'."
- Exit 1
- Else If "`Exists -d "{TEMPDIR}"`" == ""
- # Need to make the folder, but be discreet.
- NewFolder "{TEMPDIR}"
- End
- # Erase the commands file.
- Echo -n "" > "{CMDS}"
-
- OutToLunch --express
-
- {MAKE} {"Parameters"} >> "{CMDS}"
-
- #Echo "Running the make commands."
- If "`Exists -f "{CMDS}"`" != ""
- #Echo "({CMDS})"
- "{CMDS}"
- Echo "Make complete."
- Delete "{CMDS}"
- Else
- Echo "Make command file '{CMDS}' is missing!"
- Exit 1
- End
-
- Delete -n "{TEMPDIR}"
-